home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Aztec C v5.2a disk 4.adf / 204inc_h.lzh / intuition / icclass.h < prev    next >
C/C++ Source or Header  |  1991-03-14  |  2KB  |  51 lines

  1. #ifndef INTUITION_ICCLASS_H
  2. #define INTUITION_ICCLASS_H
  3. /*
  4. **  $Filename: intuition/icclass.h $
  5. **  $Release: 2.04 $
  6. **  $Revision: 36.1 $
  7. **  $Date: 90/11/01 $
  8. **
  9. **  Gadget/object interconnection classes
  10. **
  11. **  (C) Copyright 1985,1986,1987,1988,1989,1990 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15.  
  16. #ifndef UTILITY_TAGITEM_H
  17. #include <utility/tagitem.h>
  18. #endif
  19.  
  20. #define ICM_Dummy    (0x0401L)    /* used for nothing        */
  21. #define ICM_SETLOOP    (0x0402L)    /* set/increment loop counter    */
  22. #define ICM_CLEARLOOP    (0x0403L)    /* clear/decrement loop counter    */
  23. #define ICM_CHECKLOOP    (0x0404L)    /* set/increment loop        */
  24.  
  25. /* no parameters for ICM_SETLOOP, ICM_CLEARLOOP, ICM_CHECKLOOP    */
  26.  
  27. /* interconnection attributes used by icclass, modelclass, and gadgetclass */
  28. #define ICA_Dummy    (TAG_USER+0x40000L)
  29. #define ICA_TARGET    (ICA_Dummy + 1)
  30.     /* interconnection target        */
  31. #define ICA_MAP        (ICA_Dummy + 2)
  32.     /* interconnection map tagitem list    */
  33. #define ICSPECIAL_CODE    (ICA_Dummy + 3)
  34.     /* a "pseudo-attribute", see below.    */
  35.  
  36. /* Normally, the value for ICA_TARGET is some object pointer,
  37.  * but if you specify the special value ICTARGET_IDCMP, notification
  38.  * will be send as an IDCMP_IDCMPUPDATE message to the appropriate window's
  39.  * IDCMP port.    See the definition of IDCMP_IDCMPUPDATE.
  40.  *
  41.  * When you specify ICTARGET_IDCMP for ICA_TARGET, the map you
  42.  * specify will be applied to derive the attribute list that is
  43.  * sent with the IDCMP_IDCMPUPDATE message.  If you specify a map list
  44.  * which results in the attribute tag id ICSPECIAL_CODE, the
  45.  * lower sixteen bits of the corresponding ti_Data value will
  46.  * be copied into the Code field of the IDCMP_IDCMPUPDATE IntuiMessage.
  47.  */
  48. #define ICTARGET_IDCMP    (~0L)
  49.  
  50. #endif /* INTUITION_ICCLASS_H */
  51.